package com.maochd.cloud.file.properties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "minio")
public class MinioProperties {

    @ApiModelProperty(value = "端点")
    private String endpoint;

    @ApiModelProperty(value = "访问密钥")
    private String accessKey;

    @ApiModelProperty(value = "密钥")
    private String secretKey;

    @ApiModelProperty(value = "桶名称")
    private String bucketName;
}
